﻿<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="MyProperty.aspx.cs" Inherits="ASB.CC.Web.EZVisit.View.MyProperty" %>

<%@ Register TagPrefix="uc1" TagName="pagenavigation_1" Src="~/UserControls/PageNavigation.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Alcatel-Lucent Customer Care</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="../../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../../js/jquery-1.4.4.min.js"></script>

    <script type="text/javascript">
        function showDialog(url) {

            var obj = window.showModalDialog(url, this, 'dialogHeight:330px;dialogWidth:544px;dialogTop:px;dialogLeft:px;center:Yes;scroll:no;resizable:yes;status:no;');
            if (obj == 'reload') {
                window.location.href = window.location.href;
            }
        }
    </script>

    <style type="text/css">
        .ev-row td.title
        {
            width: 18%;
            height: 25px;
            background-color: #f7f7f7;
            text-align: right;
        }
        .ev-row td.title, .ev-row td.val
        {
            padding: 5px;
            border-bottom: solid 1px #ccc;
        }
    </style>
</head>
<body>
    <form id="Form1" method="post" runat="server" class="mainbox">
    <div class="mainbox">
        <uc1:pagenavigation_1 ID="PageNavigation1" runat="server"></uc1:pagenavigation_1>
        <a href="../../UserControls/PageNavigation.ascx"></a>
        <table class="float_lft" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <!--tab区域-->
                    <div class="tabbox purplebg_dark">
                        <ul class="tabpos">
                            <li><span class="tab_active">My Properties 我的属性</span></li>
                        </ul>
                    </div>
                    <div class="formbox padding5">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="padding5">
                    <table cellspacing="0" cellpadding="0" width="98%" class="ev-table">
                        <tr class="ev-row">
                            <td class="title">
                                Account 帐号：
                            </td>
                            <td class="val">
                                <asp:Label ID="lblLogin" runat="server">lblLogin</asp:Label>
                            </td>
                            <td class="title">
                                Engilish Name 英文名：
                            </td>
                            <td class="val">
                                <asp:Label ID="lblName" runat="server">lblName</asp:Label>
                            </td>
                        </tr>
                        <tr class="ev-row">
                        </tr>
                        <tr class="ev-row">
                            <td class="title">
                                Chinese Name 中文名：
                            </td>
                            <td class="val">
                                <asp:Label ID="lblNameChinese" runat="server">lblNameChinese</asp:Label>
                            </td>
                            <td class="title">
                                Department 部门：
                            </td>
                            <td class="val">
                                <asp:Label ID="lblDepartment" runat="server">lblDepartment</asp:Label>
                            </td>
                        </tr>
                        <tr class="ev-row">
                            <td class="title">
                                Process Delegation：<br /> 流程代理&nbsp;&nbsp;
                            </td>
                            <td class="val" colspan="3">
                                <table cellpadding="0" cellspacing="0" class="tablestyle" width="100%">
                                    <tr class="thead">
                                        <td>
                                        </td>
                                        <td>
                                            Delegation<br />
                                            审批代理人
                                        </td>
                                        <td>
                                            Start Date<br />
                                            开始日期
                                        </td>
                                        <td>
                                            End Date<br />
                                            结束日期
                                        </td>
                                        <td>
                                            Action<br />
                                            操作
                                        </td>
                                        <td>
                                            Cancel<br />
                                            取消
                                        </td>
                                    </tr>
                                    <tr class="tbody">
                                        <td>
                                            EZVisit
                                        </td>
                                        <td>
                                            <asp:Label ID="lblss1" runat="server" />
                                        </td>
                                        <td>
                                            <asp:Label ID="lblDateFrom1" runat="server" />
                                        </td>
                                        <td>
                                            <asp:Label ID="lblDateTo1" runat="server" />
                                        </td>
                                        <td>
                                            <img src="../../images/COMEDIT.GIF" alt="Update Delegation (更改审批代理人)" onclick="showDialog('../../view/ProcessDelegation.aspx?EmployeeID=<%= UserInfo.EmployeeID %>&rdm=<%= DateTime.Now.Ticks %>');"
                                                onmouseover="this.style.cursor='hand'" title="Update Delegation (更改审批代理人)" />
                                        </td>
                                        <td>
                                            <asp:HiddenField ID="hidGuid1" runat="server" />
                                            <asp:ImageButton ID="btnDel1" runat="server" ImageUrl="~/images/del.gif" ImageAlign="absmiddle" OnClick="btnDel1_Click" ToolTip="Clear Delegation (清空审批代理人)" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>